<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of User
 *
 * @author Amos
 */
class User {
    
        protected $username;
        protected $passwort;
        protected $vorname;
        protected $nachname;
        protected $mail;
        
        public function __construct($username, $passwort, $vorname, $nachname, $mail) {
            $this->username = $username;
            $this->passwort = $passwort;
            $this->vorname = $vorname;
            $this->nachname = $nachname;
            $this->mail = $mail;
        }
        
        public function getUsername() {
            return $this->username;
        }

        public function getPasswort() {
            return $this->passwort;
        }

        public function getVorname() {
            return $this->vorname;
        }

        public function getNachname() {
            return $this->nachname;
        }

        public function getMail() {
            return $this->mail;
        }

        public function setUsername($username) {
            $this->username = $username;
        }

        public function setPasswort($passwort) {
            $this->passwort = $passwort;
        }

        public function setVorname($vorname) {
            $this->vorname = $vorname;
        }

        public function setNachname($nachname) {
            $this->nachname = $nachname;
        }

        public function setMail($mail) {
            $this->mail = $mail;
        }
        
}
?>
